=begin pod

=TITLE class Kernel

=SUBTITLE Kernel related information

    class Kernel does Systemic { }

Built-in class for providing kernel related information.  Usually accessed
through the L«C<$*KERNEL>|/language/variables#Dynamic_variables» dynamic variable.

=head1 Methods

=head2 method arch

    method arch(--> Str)

Instance method returning the "arch" (as in "architecture") information of the
Kernel object.  Dies if the "arch" could not be established.

=head2 method archname

    method archname(--> Str)

Instance method returning the concatenation of L<hardware> and L<arch>.

=head2 method auth

    method auth(--> Str)

Instance method returning the "auth" (as in "author" or "authority") of the
Kernel object.  Returns "unknown" if the "auth" could not be established.

=head2 method bits

    method bits(--> Int)

Instance method returning the number of bits used in the architecture of the
processor.  Usually B<32> or B<64>.

=head2 method cpu-cores

    method cpu-cores(--> Int)

Instance / Class method returning the number of CPU cores that are available.

=head2 method cpu-usage

    method cpu-usage(--> Int)

Instance / Class method returning the amount of CPU uses since the start of
the program (in microseconds).

=head2 method desc

Instance method returning the "desc" (as in "description") of the Kernel object.
Returns a C<Str> type object if the "desc" could not be established.

=head2 method hardware

Instance method returning the hardware information of the Kernel object.  Dies
if the hardware information could not be established.

=head2 method name

    method name(--> Str)

Instance method returning the name of the Kernel object.  Returns "unknown"
if the name could not be established.

=head2 method release

Instance method returning the release information of the Kernel object.  Dies
if the release information could not be established.

=head2 method signal

Instance method returning the C<Signal> for a given name for the Kernel object.

=head2 method signals

Instance method returning a list of C<Signal>s that are supported by the
kernel represented by the Kernel object.

=head2 method signature

Instance method returning the signature of the Kernel object.  Returns a
C<Blob> type object if the signature could not be established.

=head2 method version

    method version(--> Version)

Instance method returning the version of the Kernel object as a L<Version>
object.  Returns a Version object "unknown" if the version could not be
established.

See Also: L<Systemic>

=end pod

# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
